<?php
namespace backend\models;
use yii\db\ActiveRecord;
/**
 * Created by PhpStorm.
 * User: 张
 * Date: 2015/10/28
 * Time: 20:30
 */
class Join extends ActiveRecord{
    public static function tableName(){
        return '{{%join}}';
    }
    public function rules(){
        return[
            [['firm','email','content'],'required','message'=>'不得为空！'],
            [['name','postcode','location','phone','info'],'string']
        ];
    }
}
?>
